package com.yannuo.service.impl;

import com.yannuo.entiy.Admin;
import com.yannuo.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

//目标类 已经实现接口
@Service
public class AdminServiceImpl implements AdminService {

//    @Autowired
//    Admin admin;

    @Override
    public void addAdmin(String adminName) {

        System.out.println("添加管理员："+adminName);
    }

    @Override
    public void deleteAdmin(String adminName) {

        System.out.println("删除管理员："+adminName);
    }
}
